Getting and Setting Curve Error
The curve error property of style objects specifies the allowable amount of error when QuickDraw GX converts a path shape into a polygon shape. It also specifies how far apart geometric points must be for QuickDraw GX to consider them separate points when performing geometric operations on shapes or reducing shapes.For example, when you call the
GXInsetShape
function on a tight curve, the resulting curve can require many more geometric points than the original curve. QuickDraw GX simplifies the resulting shape by removing geometric points that are within the shape's curve error from another geometric point.You can use the
GXGetStyleCurveError
function to determine the curve error of a style object and theGXSetStyleCurveError
function to change the curve error of a style object.The
GXGetShapeCurveError
andGXSetShapeCurveError
functions provide a way to determine and change the curve error of the style object associated with a particular shape.
Subtopics
- GXGetStyleCurveError
- GXSetStyleCurveError
- GXGetShapeCurveError
- GXSetShapeCurveError
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help